package com.fm.mediasoup.sdp;

public class MsidSemantic {
    public String semantic;
    public String token;

    public MsidSemantic(){}

    public MsidSemantic(Builder builder){
        semantic = builder.semantic;
        token = builder.token;
    }
    @Override
    public String toString() {
        return "MsidSemantic{" +
                "semantic='" + semantic + '\'' +
                ", token='" + token + '\'' +
                '}';
    }

    public static class Builder{
        public Builder setSemantic(String semantic) {
            this.semantic = semantic;
            return this;
        }

        public Builder setToken(String token) {
            this.token = token;
            return this;
        }

        private String semantic;
        private String token;
        public MsidSemantic build(){
            return new MsidSemantic(this);
        }
    }
}
